package crivia.ecp.carry.html.table;

import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.util.HSSFColor;

import crivia.ecp.carry.html.table.TDCell;
import crivia.ecp.carry.html.table.TableRow;

public class ExcelStyle extends TDCell {

	public ExcelStyle(TableRow row) {
		super(row);
	}
	
	private short bgColor = HSSFColor.WHITE.index;
	public short getBgColor() {
		return bgColor;
	}
	public void setBgColor(short bgColor) {
		this.bgColor = bgColor;
	}
	
	private short fontColor = HSSFColor.BLACK.index;
	public short getFontColor() {
		return fontColor;
	}
	public void setFontColor(short fontColor) {
		this.fontColor = fontColor;
	}
	
	private HSSFCellStyle excelStyle;
	public HSSFCellStyle getExcelStyle() {
		return excelStyle;
	}
	public void setExcelStyle(HSSFCellStyle excelStyle) {
		this.excelStyle = excelStyle;
	}

}
